package com.itbaizhan.blockhandler;

import com.alibaba.csp.sentinel.slots.block.BlockException;
import org.springframework.stereotype.Service;

@Service
public class PaymentBlockHandler {


    //处理sentinel熔断异常
    public static String  blockHandler(Long id, BlockException e) {

        return "服务繁忙稍等一会~~~~";

    }



}
